package com.javasm.finance.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum CodeMsg {
    Login_Success(200, "登录成功"),
    Login_Fail(400, "登录失败"),
    Query_Success(201, "查询到数据"),
    Query_Fail(401, "查询不到数据"),
    NO_Login(405,"没有登录"),
    OPERATE_Success(202,"操作成功"),
    OPERATE_FAIL(402,"操作失败"),
    NO_AUTH(403,"没有权限"),
    LoginOut_Success(203,"登出成功");
    private Integer returnCode;
    private String returnMsg;
}
